package entity

type LoginReq struct {
	UserName string `form:"userName" json:"userName"`
	PassWord string `form:"passWord" json:"passWord"`
}

type RegisterReq struct {
	UserName string `form:"userName" json:"userName" binding:"required,gte=4,lte=32" errmsg:"UserName参数不合法"`
	PassWord string `form:"passWord" json:"passWord" binding:"required,gte=6,lte=32" errmsg:"passWord参数不合法""`
	Gender   int32  `form:"gender" json:"gender"`
}
